/**
 * 验证邮箱
 */
 function verificationEmail(data:any){
  const reg = /^([a-zA-Z]|[0-9])(\w)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/; 
  return !reg.test(data) ? true : false;
}
/**
* 验证密码 6至15位的字母+数字 
*/
 function verificationPwd(data:any){
  const reg = /^(?!\D+$)(?![^a-zA-Z]+$)\S{6,15}$/;
  return !reg.test(data) ? true : false;
}
export{verificationEmail,verificationPwd}
